| Conditions | 1 |
| Total Lines | 19 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | // Type definitions for bitdepth 8.0 |
||
| 2 | // Project: https://github.com/rochars/bitdepth |
||
| 3 | // Definitions by: Rafael S. Rocha <https://github.com/rochars> |
||
| 4 | // Definitions: https://github.com/rochars/bitdepth |
||
| 5 | |||
| 6 | /** |
||
| 7 | * Change the bit depth of the samples. |
||
| 8 | * @param {!TypedArray} input The samples. |
||
| 9 | * @param {string} original The original bit depth of the data. |
||
| 10 | * One of "8" ... "53", "32f", "64" |
||
| 11 | * @param {string} target The desired bit depth for the data. |
||
| 12 | * One of "8" ... "53", "32f", "64" |
||
| 13 | * @param {!TypedArray} output The output array. |
||
| 14 | */ |
||
| 15 | export function changeBitDepth( |
||
| 16 | input: ArrayLike<number>, |
||
| 17 | original: string, |
||
| 18 | target: string, |
||
| 19 | output: ArrayLike<number>): void; |
||
| 20 |